import React, { PureComponent } from 'react'
import WithRouter from "../hoc/WithRouter";

export class Detail extends PureComponent {
  render() {
      const { params } = this.props.router
    return (
      <div>Detail:{params.id}</div>
    )
  }
}

export default WithRouter(Detail)